package com.renge.eduservice.entity.json;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FrontCourseInfo对象", description="前端课程返回信息")
public class FrontCourseInfo implements Serializable {

    @ApiModelProperty(value = "课程ID")
    private String id;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "课程简介")
    private String description;

    @ApiModelProperty(value = "一级类别")
    private String parentSubjectTitle;

    @ApiModelProperty(value = "二级类别")
    private String subjectTitle;

    @ApiModelProperty(value = "讲师ID")
    private String teacherId;

    @ApiModelProperty(value = "讲师姓名")
    private String teacherName;

    @ApiModelProperty(value = "讲师简介")
    private String teacherIntro;

    @ApiModelProperty(value = "讲师资历,一句话说明讲师")
    private String teacherCareer;

    @ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
    private Integer teacherLevel;

    @ApiModelProperty(value = "讲师头像")
    private String teacherAvatar;


}
